import { Container } from "react-bootstrap";
import { Link } from "react-router-dom";
import { useRequireLogin } from "../../utils";

function AdminPage() {
    useRequireLogin(true);

    return (
        <Container>
            <h1>管理页</h1>
            <Link to="/admin/poems"><h2>诗词</h2></Link>
            <Link to="/admin/authors"><h2>作者</h2></Link>
            <Link to="/admin/tags"><h2>标签</h2></Link>
        </Container>
    );
}

export default AdminPage;